package com.vepick.beans;

import java.util.Date;

public class Tache {
	public static final int TACHE_ANNULEE = 1;
	public static final int TACHE_NO_ANNULEE = 0;
	
	private int idTache;
	private int idStation;
	private int idRoutines;
	private double seqTache;
	private int idTypeTache;
	private int nombrevelo;
	private Date date;
	private int tacheAnnule;
	private String commentaireTache;
	
	
	public Tache(){}
	
	
	public Tache(int idTache, int idStation, int idRoutines, double seqTache,
			int idTypeTache, Date date, int tacheAnnule, int nombrevelo, String commentaireTache) {
		super();
		this.idTache = idTache;
		this.idStation = idStation;
		this.idRoutines = idRoutines;
		this.seqTache = seqTache;
		this.idTypeTache = idTypeTache;
		this.tacheAnnule = tacheAnnule;
		this.date = date;
		this.commentaireTache = commentaireTache;
		this.nombrevelo = nombrevelo;
	}
	
	public int getIdTache() {
		return idTache;
	}
	public void setIdTache(int idTache) {
		this.idTache = idTache;
	}
	public int getIdRoutines() {
		return idRoutines;
	}
	public void setIdRoutines(int idRoutines) {
		this.idRoutines = idRoutines;
	}
	public double getSeqTache() {
		return seqTache;
	}
	public void setSeqTache(double seqTache) {
		this.seqTache = seqTache;
	}
	public int getIdStation() {
		return idStation;
	}
	public void setIdStation(int idStation) {
		this.idStation = idStation;
	}
	public int getIdTypeTache() {
		return idTypeTache;
	}
	public void setIdTypeTache(int idTypeTache) {
		this.idTypeTache = idTypeTache;
	}
	public int getTacheAnnule() {
		return tacheAnnule;
	}
	public void setTacheAnnule(int tacheAnnule) {
		this.tacheAnnule = tacheAnnule;
	}
	public String getCommentaireTache() {
		return commentaireTache;
	}
	public void setCommentaireTache(String commentaireTache) {
		this.commentaireTache = commentaireTache;
	}

	public int getNombrevelo() {
		return nombrevelo;
	}

	public void setNombrevelo(int nombrevelo) {
		this.nombrevelo = nombrevelo;
	}


	@Override
	public String toString() {
		return "Tache [idTache=" + idTache + ", idStation=" + idStation
				+ ", idRoutines=" + idRoutines + ", seqTache=" + seqTache
				+ ", idTypeTache=" + idTypeTache + ", nombrevelo=" + nombrevelo
				+ ", tacheAnnule=" + tacheAnnule + ", commentaireTache="
				+ commentaireTache + "]";
	}


	public Date getDate() {
		return date;
	}


	public void setDate(Date date) {
		this.date = date;
	}

	
	
	

}
